import 'package:flutter/material.dart';

class Page4 extends StatelessWidget {
  const Page4({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(
          "其他（干）垃圾详情",
        ),
        centerTitle: true,
        elevation: 5.0,
      ),
      body: Center(
          child: Container(
        // color: const Color(0xffb6ad90),
        height: 550,
        width: 400,
        decoration: BoxDecoration(
          border: Border.all(
            width: 4.0,
            color: const Color(0xffa68a64),
          ),
          borderRadius: BorderRadius.circular(20.0),
        ),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Container(
              // width: 400,
              // decoration: BoxDecoration(
              //   border: Border(
              //     top: BorderSide(
              //       width: 4.0,
              //       color: const Color(0xff936639),
              //     ),
              //   ),
              // ),
              alignment: Alignment.center,
              child: Text(
                "其他垃圾",
                style: TextStyle(
                  color: const Color(0xff936639),
                  fontWeight: FontWeight.w800,
                  fontSize: 35,
                ),
              ),
            ),
            SizedBox(height: 12),
            Container(
              width: 380,
              decoration: BoxDecoration(
                border: Border(
                  top: BorderSide(
                    width: 4.0,
                    color: const Color(0xffa68a64),
                  ),
                ),
              ),
              alignment: Alignment.center,
              child: Text(
                "其他垃圾指危害比较小，没有再次利用的价值的垃圾",
                style: TextStyle(
                  color: const Color(0xff936639),
                  fontWeight: FontWeight.w800,
                  fontSize: 20,
                ),
              ),
            ),
            SizedBox(height: 5),
            Container(
              width: 380,
              decoration: BoxDecoration(
                border: Border(
                  top: BorderSide(
                    width: 4.0,
                    color: const Color(0xffa68a64),
                  ),
                ),
              ),
              alignment: Alignment.center,
              child: Text(
                '''其主要来源有：
包括砖瓦陶瓷、渣土、卫生间废纸、瓷器碎片、动物排泄物、一次性用品等难以回收的废弃物，
采取卫生填埋可有效减少对地下水、地表水、土壤及空气的污染''',
                style: TextStyle(
                  color: const Color(0xff936639),
                  fontWeight: FontWeight.w600,
                  // fontStyle: FontStyle.italic,
                  fontSize: 24,
                ),
                textAlign: TextAlign.center,
              ),
            ),
            SizedBox(height: 15),
            Container(
              width: 380,
              decoration: BoxDecoration(
                border: Border(
                  top: BorderSide(
                    width: 4.0,
                    color: const Color(0xffa68a64),
                  ),
                ),
              ),
              alignment: Alignment.topLeft,
              child: Text(
                '''一般都采取填埋、焚烧、卫生分解等方法处理，部分还可以使用生物分解的方法解决，如放蚯蚓等，其他垃圾是可回收物、厨余垃圾、有害垃圾剩余下来的一种垃圾种类''',
                style: TextStyle(
                  color: const Color(0xff936639),
                  fontWeight: FontWeight.w600,
                  fontSize: 18,
                ),
                textAlign: TextAlign.center,
              ),
            ),
          ],
        ),
      )),
    );
  }
}
